//
//  HYHomeBaseCollectionCell.h
//  XPlayer
//
//  Created by liguoqing on 2023/9/8.
//

#import <UIKit/UIKit.h>
#import <BaseWithRAC/BindVMProtocol.h>
#import "HYHomeFileItemViewModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface HYHomeBaseCollectionCell : UICollectionViewCell<BindVMProtocol>

@property (nonatomic, strong) HYHomeFileItemViewModel *itemVm;
/// 背景视图
@property (nonatomic, strong) UIView *backView;
/// 文件图标（是否加锁）
@property (nonatomic, strong) UIImageView *iconView;
// 视频封面
@property (nonatomic, strong) UIImageView *coverView;
// 文件名称
@property (nonatomic, strong) UILabel *titleLabel;
// 描述
@property (nonatomic, strong) UILabel *descLabel;
/// 创建时间
@property (nonatomic, strong) UILabel *dateLabel;
// 遮罩
@property (nonatomic, strong) UIView *bottomView;
/// 加锁标记
@property (nonatomic, strong) UIImageView *lockView;

- (void)configUI;
// 添加长按手势
- (void)addLongPressGesture;
- (void)startScaleAnimation;
@end

NS_ASSUME_NONNULL_END
